package com.swsc.solarverse.dao.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.swsc.solarverse.dao.entity.base.BaseTimeDO;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author AutoGenerator
 * @since 2023-03-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("solar_defect_definition")
public class DefectDefinitionDO extends BaseTimeDO {


    /**
     * 缺陷编号
     */
    @TableField("defect_code")
    private String defectCode;

    @TableField("defect_category")
    private String defectCategory;

    /**
     * 缺陷编号
     */
    @TableField("defect_name")
    private String defectName;

    /**
     * 自动识别名称
     */
    @TableField("auto_identification_name")
    private String autoIdentificationName;

    /**
     * 缺陷等级
     */
    @TableField("defect_level")
    private Byte defectLevel;

    /**
     * 定义对象: 1 组串, 2组件
     */
    @TableField("defect_object")
    private Byte defectObject;

    /**
     * 损耗
     */
    @TableField("defect_loss_rate")
    private Float defectLossRate;

    /**
     * 故障原因
     */
    @TableField("defect_reason")
    private String defectReason;

    /**
     * 消缺建议
     */
    @TableField("defect_suggestion")
    private String defectSuggestion;

    /**
     * 检测模型 EASYDL, YOLO
     */
    @TableField("detection_model")
    private String detectionModel;

    /**
     * 故障图片类型 1 红外, 2 可见光, 3 红外或可见光
     */
    @TableField("image_lens_type")
    public Byte imageLensType;

    /**
     * 备注
     */
    @TableField("remark")
    private String remark;

    /**
     * 租户编号
     */
    @TableField("tenant_no")
    private Integer tenantNo;

    /**
     * 机构编号
     */
    @TableField("organ_no")
    private Integer organNo;


}
